package com.cn.bukeManage.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

//这是工厂管理
@Controller
@RequestMapping("/factory")
public class FactoryController {
	//制作管理
	@RequestMapping("/makeManage")
	public String makeManage(Model model){
		System.out.println("我看看到底进来了没有哇!");
		model.addAttribute("oneMenu","factory");
		model.addAttribute("twoMenu","makeManage");
		return "factory/factoryOrders1";
	}
	//物流管理
	@RequestMapping("/logistics")
	public String logistics(Model model){
		model.addAttribute("oneMenu","factory");
		model.addAttribute("twoMenu","logistics");
		return "factory/logistics";
	}
	
	
	
	
}
